package com.cfs.dao.bz;

import java.util.List;

import javax.ws.rs.PathParam;

import org.apache.ibatis.annotations.Param;

import com.cfs.po.bz.Columns;
import com.cfs.vo.Condition;
import com.cfs.vo.Pager;

public interface ColumnsDao {

	public Long insert(Columns c);

	public Integer delete(Long id);

	public Long update(Columns c);

	public Columns get(Long id);

	public Columns appSet(@PathParam("did")String did, @PathParam("cid")Long cid);
	public Columns appGet(String did);
	public List<Columns> appTops();

	public List<Columns> listSub(@Param("pid") Long pid,@Param("p") Pager p);
	public List<Columns> list(Condition c);
	public List<Columns> listAll();

}
